package com.glodon.jcloud.increment.shorturl.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * Create Date: 2022/12/6
 *
 * @version: V0.0.1-SNAPSHOT
 * @author: Terry.Li
 * @mail: lib-o@glodon.com
 */
@Data
public class ShortUrlPageParam {

    /** 当前页 */
    @ApiModelProperty(value = "当前页码")
    private Integer pagenum;

    /** 每页条数 */
    @ApiModelProperty(value = "每页条数", example = "20")
    private Integer pagesize;

    /** 排序字段 */
    @ApiModelProperty(value = "排序字段，字段驼峰名称，如：userName")
    private String sortField;

    /** 排序方式 */
    @ApiModelProperty(value = "排序方式，升序：ASCEND；降序：DESCEND")
    private String sortOrder;

    /** 名称关键词 */
    @ApiModelProperty(value = "名称关键词")
    private String searchKey;
}
